package sisi;

import java.util.Map;

import org.zkoss.zk.ui.Sessions;
import org.zkoss.zk.ui.event.Event;
import org.zkoss.zk.ui.util.ConventionWires;
import org.zkoss.zul.Window;
/**
 * @author Pedro Gonzalez pedro@sisisoftware.it
 * @author Claudio Pelosi claudio@sisisoftware.it
 * @author SISI Software S.n.c. - www.sisisoftware.it
 * @version 1.0
 * 
 */
@SuppressWarnings("serial")
public class DssWindow extends Window implements
		org.zkoss.zk.ui.ext.AfterCompose {
	private Window dssWindow;

	protected Map<String, Object> args;

	public void onCreate$dssWindow(Event event) {
		String utente;
		utente = (String) Sessions.getCurrent().getAttribute("utente");
		dssWindow.setTitle("Data Studio Sistemi S.r.l. - Utente: " + utente);
	}

	public void afterCompose() {
		// wire variables
		ConventionWires.wireVariables(this, this);
		// auto forward
		ConventionWires.addForwards(this, this);
	}

}
